package cn.kooki.app.duobao.data.Bean.User;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by xiong on 2015/12/16.
 */
public class ShipAddressItem implements Parcelable {

    public String id;
    public String sheng;
    public String shi;
    public String xian;
    public String jiedao;
    public String youbian;
    public String shouhuoren;
    public String shouji;
    public String qq;
    public String dianhua;
    public String moren;

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.id);
        dest.writeString(this.sheng);
        dest.writeString(this.shi);
        dest.writeString(this.xian);
        dest.writeString(this.jiedao);
        dest.writeString(this.youbian);
        dest.writeString(this.shouhuoren);
        dest.writeString(this.shouji);
        dest.writeString(this.qq);
        dest.writeString(this.dianhua);
        dest.writeString(this.moren);
    }

    public ShipAddressItem() {
    }

    protected ShipAddressItem(Parcel in) {
        this.id = in.readString();
        this.sheng = in.readString();
        this.shi = in.readString();
        this.xian = in.readString();
        this.jiedao = in.readString();
        this.youbian = in.readString();
        this.shouhuoren = in.readString();
        this.shouji = in.readString();
        this.qq = in.readString();
        this.dianhua = in.readString();
        this.moren = in.readString();
    }

    public static final Parcelable.Creator<ShipAddressItem> CREATOR = new Parcelable.Creator<ShipAddressItem>() {
        public ShipAddressItem createFromParcel(Parcel source) {
            return new ShipAddressItem(source);
        }

        public ShipAddressItem[] newArray(int size) {
            return new ShipAddressItem[size];
        }
    };
}
